﻿@{
	Layout = null;
}

<!DOCTYPE html>

<html>
<head>
	<meta name="viewport" content="width=device-width" />
	<title>Live Blog Admin</title>
</head>
<body>
	<h1>Live Blog Admin</h1>

	@using (Html.BeginForm("Publish", "Admin", FormMethod.Post, new { enctype = "multipart/form-data" }))
	{
		<p><textarea rows="5" cols="100" name="html" id="html"></textarea></p>
		<p><input type="file" id="photo" name="photo" /></p>
		<p>Name: @Html.TextBox("name", User.Identity.Name)</p>
		<p><input type="submit" value="Send" /></p>
	}

	<p style="text-align: right;"><a href="/">Live Site</a> | @Html.ActionLink("Logout", "Logout", "Home")</p>
</body>
</html>
